WPStaging\Backend\Modules\Jobs\Cloning A

Total Complexity 68
Dependencies 22
Dependents 1
Total lines 522
Lines of code 274
Logical lines of code 156
Comment lines 145
Methods 21
Properties 5

Methods 21

Method Rating Maintainability Complexity Lines of code
save()
D
28
31 123
start()
S
57 6 15
setStagingPrefix()
S
57 5 15
saveClone()
S
48 2 31
getDestinationDir()
S
63 3 11
handleJobResponse()
S
63 2 11
isDestinationDatabaseSameAsLiveDatabase()
S
79 2 3
getDestinationUrl()
S
71 2 6
getDestinationHostname()
S
69 2 7
maybeAppendUnderscorePrefix()
S
68 2 7
jobPreserveDataSecondStep()
S
75 1 4
jobData()
S
79 1 3
jobFiles()
S
75 1 4
jobDirectories()
S
75 1 4
initialize()
S
70 1 6
jobSearchReplace()
S
75 1 4
jobDatabase()
S
75 1 4
jobPreserveDataFirstStep()
S
75 1 4
getErrorMessage()
S
82 1 3
getHostnameWithoutScheme()
S
78 1 3
jobFinish()
S
70 1 6